package com.deyang.workflow.entity;

import java.time.LocalDate;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工单信息表
 * </p>
 *
 * @author zhanghuaiyu
 * @since 2021-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "WorkOrderBase对象", description = "工单信息表")
@TableName("work_order_base")
public class WorkOrderBase extends Page implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工单编号")
    @TableId("work_order_id")
    private String workOrderId;

    @ApiModelProperty(value = "工单名称")
    private String workOrderName;


    @ApiModelProperty(value = "工单类型")
    private String workOrderType;

    @ApiModelProperty(value = "报警地址")
    private String warnAddress;

    @ApiModelProperty(value = "报警设备")
    private String warnEquipment;

    @ApiModelProperty(value = "报警时间")
    private LocalDate warnTime;

    @ApiModelProperty(value = "事件等级")
    private String eventLevel;

    @ApiModelProperty(value = "事件区域")
    private String eventRegion;

    @ApiModelProperty(value = "事件类型")
    private String eventType;

    @ApiModelProperty(value = "事件地址")
    private String eventAddress;

    @ApiModelProperty(value = "事件内容")
    private String eventContext;

    @ApiModelProperty(value = "生成方式")
    private String generationType;

    @ApiModelProperty(value = "提交人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "责任人")
    private String dutyPerson;

    @ApiModelProperty(value = "是否存在转派申请")
    private String redeployStatus;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;


    //图片处理信息
    @TableField(exist = false)
    private List<String> listImg;

}
